package com.niit.serviceuser.mapper;

import com.niit.common.entity.TbUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TbUserMapper {

    List<TbUser> selectAll();

    TbUser selectById(Long id);

    int insert(TbUser user);

    int update(TbUser user);

    int deleteById(Long id);
}